package com.lzc.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzc.common.utils.PageUtils;
import com.lzc.mall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author liuzhicheng
 * @email liuzhicheng@gmail.com
 * @date 2024-09-19 14:03:32
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 获取所有分类数据的树形结构
     * @return
     */
    List<CategoryEntity> listWithTree();

    /**
     * 邏輯刪除菜單
     * @param asList
     */
    void removeMenuByIds(List<Long> asList);
}

